#ifndef SCRIPT_COMMAND_EXECUTOR_H
#define SCRIPT_COMMAND_EXECUTOR_H
#include <qpushbutton.h>
#include <qplaintextedit.h>
#include "../../sdk/include/WidgetFrameLess.h"
#include "../../sdk/include/AddonManager.h"
#include "ScriptLineEdit.h"

class ScriptCommandExecutor : public WidgetFrameLess
{
	Q_OBJECT
public:
	ScriptCommandExecutor(QWidget* parent = nullptr);
	~ScriptCommandExecutor();
public slots:
	void onTextChanged(const QString& text);
private:
	ScriptLineEdit* input;
	QPushButton* button;
	QPlainTextEdit* edit;
};

#endif
